export default {
  doneTodos: state => { // 通过方法访问
    return state.count - 1;
  },
  doneTodosCount: (state, getters) => { // 通过属性访问
    debugger;
    return getters.doneTodos + 2;
  }
};
